package com.tsu.mall.admin.mapper;

import com.tsu.mall.admin.entity.Attendant;
import com.tsu.mall.admin.entity.Menu;
import com.tsu.mall.admin.entity.Waresclassify;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tttttt
 * @since 2023-03-17
 */
public interface WaresclassifyMapper extends BaseMapper<Waresclassify> {

    @Select("select * from waresclassify where parent_id=#{id}")
    List<Waresclassify> selectByParentId(Integer id);

    List<Waresclassify> doSelectListPage(String keyword);

}
